home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / dmake38c.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1992-01-23  |  2KB  |  61 lines

  1. /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/unix/xenix/config.h,v 1.1 1992/01/24 03:28:45 dvadura Exp $
  2. -- SYNOPSIS -- Configurarion include file.
  3. -- 
  4. -- DESCRIPTION
  5. --     There is one of these for each specific machine configuration.
  6. --    It can be used to further tweek the machine specific sources
  7. --    so that they compile.
  8. --
  9. -- AUTHOR
  10. --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  11. --      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
  12. --
  13. -- COPYRIGHT
  14. --      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
  15. -- 
  16. --      This program is free software; you can redistribute it and/or
  17. --      modify it under the terms of the GNU General Public License
  18. --      (version 1), as published by the Free Software Foundation, and
  19. --      found in the file 'LICENSE' included with this distribution.
  20. -- 
  21. --      This program is distributed in the hope that it will be useful,
  22. --      but WITHOUT ANY WARRANTY; without even the implied warrant of
  23. --      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24. --      GNU General Public License for more details.
  25. -- 
  26. --      You should have received a copy of the GNU General Public License
  27. --      along with this program;  if not, write to the Free Software
  28. --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  29. --
  30. -- LOG
  31. --     $Log: config.h,v $
  32.  * Revision 1.1  1992/01/24  03:28:45  dvadura
  33.  * dmake Version 3.8, Initial revision
  34.  *
  35. */
  36.  
  37. /* define this for configurations that don't have the coreleft function
  38.  * so that the code compiles.  To my knowledge coreleft exists only on
  39.  * Turbo C, but it is needed here since the function is used in many debug
  40.  * macros. */
  41. #define coreleft() 0L
  42.  
  43. /* Define the getcwd function that is used in the code, since BSD does
  44.  * not have getcwd, but call it getwd instead. */
  45. extern char *getcwd ANSI((char *, int));
  46.  
  47. #ifndef M_XENIX
  48. /* Define setvbuf, SysV doesn't have one */
  49. #define setvbuf(fp, bp, type, len) setbuf( fp, NULL );
  50. #endif
  51.  
  52. #ifdef M_XENIX
  53. #define ASCARCH        0    /* Use binary archive headers if Xenix */
  54. #endif
  55.  
  56. /* We don't care about CONST */
  57. #define CONST
  58.  
  59. /* a small problem with pointer to voids on some unix machines needs this */
  60. #define PVOID void *
  61.